package com.wimcorp.magic.behaviour;

import javax.persistence.Entity;


@Entity
public class Haste extends Behaviour {

	private static Haste instance = new Haste();

	protected Haste() {
		
	}
	public static Haste instance() {
		return instance;
	}
	
	@Override
	public String toString() {
		String description = super.toString();
		if(description == null){
			description = "Haste - This creature can attack as soon as it comes into play.";
		}
		return description;
	}
	
	@Override
	public boolean equals(Object obj) {
		return obj instanceof Haste;
	}

}
